Smartling\WP\Controller\PostBasedWidgetControllerStd A

Total Complexity 75
Dependencies 23
Dependents 1
Total lines 590
Lines of code 396
Logical lines of code 175
Comment lines 57
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
ajaxUploadHandler()
C
27
24 167
ajaxDownloadHandler()
A
44 9 45
preView()
A
42 8 52
save()
A
45 7 46
runValidation()
S
56 5 17
register()
S
65 4 8
box()
S
59 3 15
getCore()
S
71 2 6
isAllowedToSave()
S
66 2 8
canHandle()
S
76 2 4
__construct()
S
77 1 3
isMuted()
S
79 1 3
getAbilityNeeded()
S
82 1 3
setAbilityNeeded()
S
81 1 3
getServedContentType()
S
82 1 3
setServedContentType()
S
81 1 3
getNoOriginalFound()
S
82 1 3
setNoOriginalFound()
S
81 1 3
validateTargetBlog()
S
75 1 4